home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / Source / Menu Fixer 1.0 Source / Menu fixer ƒ / MSG Shell ƒ / msg menus.h < prev   
Encoding:
Text File  |  1993-11-14  |  1.5 KB  |  61 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        msg menus.h
  4.  
  5. Purpose:    This is the header file for msg menus.c
  6.  
  7.  
  8. Menu Fixer -=- synchronize menu IDs and menu resource IDs
  9. Copyright (C) 1993 Mark Pilgrim
  10.  
  11. This program is free software; you can redistribute it and/or modify
  12. it under the terms of the GNU General Public License as published by
  13. the Free Software Foundation; either version 2 of the License, or
  14. (at your option) any later version.
  15.  
  16. This program is distributed in the hope that it will be useful,
  17. but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19. GNU General Public License for more details.
  20.  
  21. You should have received a copy of the GNU General Public License
  22. along with this program in a file named "GNU General Public License".
  23. If not, write to the Free Software Foundation, 675 Mass Ave,
  24. Cambridge, MA 02139, USA.
  25.  
  26. \**********************************************************************/
  27.  
  28. enum
  29. {
  30.     helpMenu = 200,
  31.     
  32.     appleMenu = 400,
  33.     fileMenu,
  34.     editMenu,
  35.     
  36.     aboutItem = 1,
  37.     helpItem,
  38.     
  39.     openItem = 1,
  40.     closeItem,
  41.     quitItem = 4,
  42.     
  43.     undoItem = 1,
  44.     cutItem = 3,
  45.     copyItem = 4,
  46.     pasteItem = 5,
  47.     clearItem = 6
  48. };
  49.  
  50. extern    MenuHandle        gAppleMenu;
  51. extern    MenuHandle        gFileMenu;
  52. extern    MenuHandle        gEditMenu;
  53. extern    MenuHandle        gHelpMenu;
  54.  
  55. void AdjustMenus(void);
  56. void HandleMenu(long);
  57. void HandleAppleMenu(int);
  58. void HandleFileMenu(int);
  59. void HandleEditMenu(int);
  60. void HandleHelpMenu(int);
  61.